package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IMiguVideoRetentAddStatisticsDao;
import org.jsbd.boss.domian.MiguVideoRetentAddStatistics;
import org.jsbd.boss.domian.MiguVideoSearchVo;
import org.springframework.stereotype.Repository;

@Repository("miguVideoRetentAddStatisticsDao")
public class MiguVideoRetentAddStatisticsDaoImpl extends CrackBaseDao implements IMiguVideoRetentAddStatisticsDao {
	
	@SuppressWarnings("unchecked")
	@Override
	public List<MiguVideoRetentAddStatistics> getConfigExecTimesList(
			MiguVideoRetentAddStatistics miguVideoRetentAddStatistics) {
		return super.queryForList("qy_migu_video_retent_add_statistics.select_config_exec_times_list",
				miguVideoRetentAddStatistics);
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<MiguVideoRetentAddStatistics> getTodayDoNum(MiguVideoRetentAddStatistics miguVideoRetentAddStatistics) {
		return super.queryForList("qy_migu_video_retent_add_statistics.select_today_exec_count_list",
				miguVideoRetentAddStatistics);
	}

	@Override
	public Integer getRetentUserCount(MiguVideoRetentAddStatistics miguVideoRetentAddStatistics) {
		return super.queryForCount("qy_migu_video_retent_add_statistics.select_retent_user_count",
				miguVideoRetentAddStatistics);
	}
	
	@SuppressWarnings("unchecked")
	@Override
	public List<MiguVideoRetentAddStatistics> getDayList(MiguVideoRetentAddStatistics miguVideoRetentAddStatistics) {
		return super.queryForList("qy_migu_video_retent_add_statistics.select_day_list", miguVideoRetentAddStatistics);
	}

	@Override
	public Integer getDayListPageCount(MiguVideoRetentAddStatistics miguVideoRetentAddStatistics) {
		return super.queryForCount("qy_migu_video_retent_add_statistics.select_day_list_count", miguVideoRetentAddStatistics);
	}
	
	@SuppressWarnings("unchecked")
	@Override
	public List<MiguVideoRetentAddStatistics> getMiguDayList(MiguVideoSearchVo miguVideoSearchVo) {
		return super.queryForList("qy_migu_video_retent_add_statistics.select_video_day_list", miguVideoSearchVo);
	}
}
